ComponentOne PDF for WPF and Silverlight
DrawImage(Int32,Int32,Int32[],Rect,Rect) Method

C1.WPF.Pdf.4 Assembly > C1.WPF.Pdf Namespace > C1PdfDocument Class > DrawImage Method : DrawImage(Int32,Int32,Int32[],Rect,Rect) Method
The width of thne image in pixels.
The height of thne image in pixels.
The ARGB color array.
System.Windows.Rect structure that specifies the location of the drawn image, in points from the top left corner of the page.
System.Windows.Rect structure that specifies a clipping rectangle on the page. No part of the image is drawn outside the clipping rectangle.
Draws the specified ARGB pixels at the specified location, clipping the output to the given clipping rectangle.
Syntax
'Declaration
 
Public Overloads Sub DrawImage( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal pixels() As Integer, _
   ByVal rc As Rect, _
   ByVal rcClip As Rect _
) 
public void DrawImage( 
   int width,
   int height,
   int[] pixels,
   Rect rc,
   Rect rcClip
)

Parameters

width
The width of thne image in pixels.
height
The height of thne image in pixels.
pixels
The ARGB color array.
rc
System.Windows.Rect structure that specifies the location of the drawn image, in points from the top left corner of the page.
rcClip
System.Windows.Rect structure that specifies a clipping rectangle on the page. No part of the image is drawn outside the clipping rectangle.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List